Skip to main content

padding

Type​

property

Summary​

Determines the padding of the cells of a table in a field.

Syntax​

set the padding of line <lineNumber> of <fieldReference> to <pixels>

Description​

Use the padding property to add padding to table cells.

The padding property adds padding to all sides of a table cell. The padding property only has an effect on a table in a field.

To create a table within a field use the tabStops property.

Parameters​

NameTypeDescription

pixels

The number of pixels to add as padding around the contents of the cells in a table.

Examples​

set the padding of line 5 of field 1 to 10

Value​

NameTypeDescription

value

The padding of a line or field returns the padding size as a number.

keyword: field

property: leftIndent, borderWidth, vgrid, textAlign, dontWrap, formattedText, spaceAbove, backgroundColor, listBehavior, listIndent, hidden, textSize, firstIndent, listStyle, spaceBelow, tabStops, rightIndent, listDepth, hgrid, hScrollbar, borderColor, formattedWidth

Compatibility and Support​

Introduced

LiveCode 5.5

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?